package com.example.test.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 客户信息表
 * </p>
 *
 * @author dz
 * @since 2022-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Customers extends Model<Customers> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "customer_id", type = IdType.AUTO)
    private Long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户电话
     */
    private String phone;

    /**
     * 客户微信
     */
    private String wechat;

    /**
     * 客户qq
     */
    private String qq;

    /**
     * 客户email
     */
    private String email;

    /**
     * 常用地址
     */
    private String adress;

    /**
     * 已购买金额
     */
    private Double amountPurchase;

    /**
     * 所属单位
     */
    private String firm;

    @TableLogic
    private Boolean deleted;

    private Date createTime;

    private Date deletedTime;

    private Date updateTime;



}
